feat: Add switch to org button on plan usage screen#2366
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 25, 2026
Contributor
What T-Rex did
ArtifactsPlan usage switch-org analysis
|
446682a to
89b8708
Compare
6670280 to
9dfa96d
Compare
3cf4284 to
10ef24e
Compare
jonathanlab
reviewed
May 26, 2026
9df0de6 to
7ae6bef
Compare
10ef24e to
00f8d97
Compare
7ae6bef to
a341041
Compare
bbe83b1 to
cf0e2a9
Compare
a341041 to
19f1fcb
Compare
cf0e2a9 to
16da428
Compare
16da428 to
ae6c12a
Compare
19f1fcb to
b18b14b
Compare
jonathanlab
approved these changes
May 28, 2026
b18b14b to
078682b
Compare
c5613cd to
d76b960
Compare
078682b to
b013eb0
Compare
d76b960 to
c5c04f1
Compare
afb2f40 to
878a599
Compare
c5c04f1 to
6041a41
Compare
878a599 to
e9cd5d8
Compare
9b8d6ce to
9013f9b
Compare
e9cd5d8 to
0b77126
Compare
0b77126 to
c58094e
Compare
9013f9b to
3679e1d
Compare
3679e1d to
317ad6b
Compare
Member
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
PlanUsageSettingsdetectedhasBetterPlanElsewhereand showed a callout but offered no way to actually switch to the org with the better plan. The page also calledclient.switchOrganizationdirectly from the renderer, bypassing the main-process auth service.Changes
hasBetterPlanElsewherecalloutuseSwitchOrgMutationsoAuthService.switchOrgis the single canonical pathautoProvision: trueafter the switch so the Pro card reflects the new active org?? "Pro org"fallback when the API omits the org nameHow did you test this?
manually
Publish to changelog?
no